from flask import Blueprint, request, render_template,current_app
bp = Blueprint('index', __name__, url_prefix='/')

# 后台首页
@bp.get('/')
def index():
    return render_template('admin/' + current_app.config.get("DEFAULT_THEME") + '/index.html')


# 更新页
@bp.get('/update')
def update():
    return render_template('admin/' + current_app.config.get("DEFAULT_THEME") + '/update.html')